<@master template="common/default" title="${project.name}项目">
<div class="detailsBox clearfix">
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco"></i>项目信息<@permission permissionName="admin"><a
				href="<@url value='/project/update?projectId=${project.id}'/>"
				class="fr edit btn_blue">编辑项目信息</a></@permission>
				
		</h3>
		<div class="detaiTab">

			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tbody>
					<tr>
						<td align="right" class="bg" width="18%">项目ID:</td>
						<td>${project.id}</td>
						<td align="right" class="bg" width="18%">项目名称:</td>
						<td>${project.name}</td>
					</tr>
					<tr>
						<td align="right" class="bg">项目所有人:</td>
						<td><@select dataSouceType="validUser" dataSouceFrom="user"
							class="tabInp" value="${project.ownerUserCode}"
							name="ownerUserCode" renderonly="true"/></td>
						<td align="right" class="bg">项目状态:</td>
						<td><@select dataSouceType="project_status" class="tabInp"
							value="${project.status}" name="status" renderonly="true"/></td>
					</tr>
					<tr>
						<td align="right" class="bg">项目备注:</td>
						<td colspan="3">${project.comments}</td>
					</tr>

				</tbody>
			</table>
		</div>
	</div>

	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco"></i>项目工单类型信息
		</h3>
		<div class="detaiTab"><@pagination
			paginationInfo="projectTicketTypePaginationInfo"/></div>
	</div>
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco"></i>项目模块信息
		</h3>
		<div class="detaiTab"><@pagination
			paginationInfo="projectModulePaginationInfo"/></div>
	</div>
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco"></i>项目版本信息<a href="/ticket/view/search?projectIds=${project.id}&ticketTypeCodes=version&orderBy=status&pageSize=10" target="_blank"
				class="fr edit btn_blue">查看</a>
		</h3>
		<div class="detaiTab action-ajax-load" id="versions"
			data-url="/ticket/ajax/search?render=${"#versions"?url}&projectIds=${project.id}&ticketTypeCodes=version&orderBy=status&pageSize=10"></div>
	</div>
</div>


</@master>
